package com.power.using.mymvptoutiao.module.wenda.artical;

import com.power.using.mymvptoutiao.bean.wenda.WendaArticleDataBean;
import com.power.using.mymvptoutiao.module.base.IBaseListView;
import com.power.using.mymvptoutiao.module.base.IBasePresenter;

import java.util.List;

/**
 * Created by 聪明一只哈 on 2019/9/28.
 * Time: 2019/9/28  11:37
 */
public interface IWendaArticle {

    interface View extends IBaseListView<Presenter>{

        /**
         * 请求数据
         */
        void onLoadData();

        /**
         * 刷新
         */
        void onRefresh();


    }

    interface Presenter extends IBasePresenter{

        /**
         * 请求数据
         */
        void doLoadData();

        /**
         * 再起请求数据
         */
        void doLoadMoreData();

        /**
         * 设置适配器
         */
        void doSetAdapter(List<WendaArticleDataBean> list);

    }
}
